package com.cx.service.serviceimp;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.cx.entity.PersonNumber;
import com.cx.mapper.PersonNumberMapper;
import java.util.List;
import com.cx.service.PersonNumberService;
/**
* @program: pms
* @author: cx
* @description:
* @create: 2024-10-31 15:18
**/
@Service
public class PersonNumberServiceImpl implements PersonNumberService{

    @Autowired
    private PersonNumberMapper personNumberMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return personNumberMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(PersonNumber record) {
        return personNumberMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(PersonNumber record) {
        return personNumberMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(PersonNumber record) {
        return personNumberMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(PersonNumber record) {
        return personNumberMapper.insertSelective(record);
    }

    @Override
    public PersonNumber selectByPrimaryKey(Integer id) {
        return personNumberMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(PersonNumber record) {
        return personNumberMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PersonNumber record) {
        return personNumberMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<PersonNumber> list) {
        return personNumberMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<PersonNumber> list) {
        return personNumberMapper.batchInsert(list);
    }

}
